package com.zbkj.admin.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@ApiModel
public class QuotaFlowVo {

    @ApiModelProperty("额度调整单号")
    private String quotaFlowNo;

    @ApiModelProperty("来源单号")
    private String sourceOrderNo;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("用户名称")
    private String nickName;

    @ApiModelProperty("额度类型")
    private String quotaType;

    @ApiModelProperty("额度类型描述")
    private String quotaTypeDesc;

    @ApiModelProperty("二级额度类型")
    private String secondaryQuotaType;

    @ApiModelProperty("二级额度类型描述")
    private String secondaryQuotaTypeDesc;

    @ApiModelProperty("调整类型")
    private String adjustmentType;

    @ApiModelProperty("调整类型描述")
    private String adjustmentTypeDesc;

    @ApiModelProperty("变动金额")
    private String changeAmount;

    @ApiModelProperty(" 可用额度")
    private String availableAmount;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdTime;

    @ApiModelProperty("成功时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDate succeedTime;

    @ApiModelProperty("创建人")
    private String createdBy;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("状态描述")
    private String statusDesc;
}
